Remove TimJ's checks for already being mapped or hidden. See the ICCCM's
authorOwen Taylor <otaylor@redhat.com>
Wed, 27 Jan 1999 23:49:34 +0000 (23:49 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 27 Jan 1999 23:49:34 +0000 (23:49 +0000)
Tue Jan 26 14:02:50 1999  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
checks for already being mapped or hidden. See
the ICCCM's section on state changes for why this
is a bad idea.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkwindow.c
gdk/x11/gdkwindow-x11.c

index 1f0dbe97659a4c73b255c24a6fce94ed870e948e..5d6ca7eea532261bb962e8b4061bb0b91c78c380 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Tue Jan 26 14:02:50 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
+       checks for already being mapped or hidden. See
+       the ICCCM's section on state changes for why this
+       is a bad idea.
+
 Wed Jan 27 17:05:40 1999  Owen Taylor  <otaylor@redhat.com>
 
        * Separate out GLIB_LIBS and GLIB_DEPLIBS. This
index 1f0dbe97659a4c73b255c24a6fce94ed870e948e..5d6ca7eea532261bb962e8b4061bb0b91c78c380 100644 (file)
@@ -1,3 +1,10 @@
+Tue Jan 26 14:02:50 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
+       checks for already being mapped or hidden. See
+       the ICCCM's section on state changes for why this
+       is a bad idea.
+
 Wed Jan 27 17:05:40 1999  Owen Taylor  <otaylor@redhat.com>
 
        * Separate out GLIB_LIBS and GLIB_DEPLIBS. This
index 1f0dbe97659a4c73b255c24a6fce94ed870e948e..5d6ca7eea532261bb962e8b4061bb0b91c78c380 100644 (file)
@@ -1,3 +1,10 @@
+Tue Jan 26 14:02:50 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
+       checks for already being mapped or hidden. See
+       the ICCCM's section on state changes for why this
+       is a bad idea.
+
 Wed Jan 27 17:05:40 1999  Owen Taylor  <otaylor@redhat.com>
 
        * Separate out GLIB_LIBS and GLIB_DEPLIBS. This
index 1f0dbe97659a4c73b255c24a6fce94ed870e948e..5d6ca7eea532261bb962e8b4061bb0b91c78c380 100644 (file)
@@ -1,3 +1,10 @@
+Tue Jan 26 14:02:50 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
+       checks for already being mapped or hidden. See
+       the ICCCM's section on state changes for why this
+       is a bad idea.
+
 Wed Jan 27 17:05:40 1999  Owen Taylor  <otaylor@redhat.com>
 
        * Separate out GLIB_LIBS and GLIB_DEPLIBS. This
index 1f0dbe97659a4c73b255c24a6fce94ed870e948e..5d6ca7eea532261bb962e8b4061bb0b91c78c380 100644 (file)
@@ -1,3 +1,10 @@
+Tue Jan 26 14:02:50 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
+       checks for already being mapped or hidden. See
+       the ICCCM's section on state changes for why this
+       is a bad idea.
+
 Wed Jan 27 17:05:40 1999  Owen Taylor  <otaylor@redhat.com>
 
        * Separate out GLIB_LIBS and GLIB_DEPLIBS. This
index 1f0dbe97659a4c73b255c24a6fce94ed870e948e..5d6ca7eea532261bb962e8b4061bb0b91c78c380 100644 (file)
@@ -1,3 +1,10 @@
+Tue Jan 26 14:02:50 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
+       checks for already being mapped or hidden. See
+       the ICCCM's section on state changes for why this
+       is a bad idea.
+
 Wed Jan 27 17:05:40 1999  Owen Taylor  <otaylor@redhat.com>
 
        * Separate out GLIB_LIBS and GLIB_DEPLIBS. This
index 1f0dbe97659a4c73b255c24a6fce94ed870e948e..5d6ca7eea532261bb962e8b4061bb0b91c78c380 100644 (file)
@@ -1,3 +1,10 @@
+Tue Jan 26 14:02:50 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
+       checks for already being mapped or hidden. See
+       the ICCCM's section on state changes for why this
+       is a bad idea.
+
 Wed Jan 27 17:05:40 1999  Owen Taylor  <otaylor@redhat.com>
 
        * Separate out GLIB_LIBS and GLIB_DEPLIBS. This
index 601c74894322001f9e688bc7443f13bf3c9659a1..c3fd22581775e8182cd9c6d6f0f851929df9c191 100644 (file)
@@ -742,7 +742,7 @@ gdk_window_show (GdkWindow *window)
   g_return_if_fail (window != NULL);
 
   private = (GdkWindowPrivate*) window;
-  if (!private->destroyed && !private->mapped)
+  if (!private->destroyed)
     {
       private->mapped = TRUE;
       XRaiseWindow (private->xdisplay, private->xwindow);
@@ -758,7 +758,7 @@ gdk_window_hide (GdkWindow *window)
   g_return_if_fail (window != NULL);
 
   private = (GdkWindowPrivate*) window;
-  if (!private->destroyed && private->mapped)
+  if (!private->destroyed)
     {
       private->mapped = FALSE;
       XUnmapWindow (private->xdisplay, private->xwindow);
index 601c74894322001f9e688bc7443f13bf3c9659a1..c3fd22581775e8182cd9c6d6f0f851929df9c191 100644 (file)
@@ -742,7 +742,7 @@ gdk_window_show (GdkWindow *window)
   g_return_if_fail (window != NULL);
 
   private = (GdkWindowPrivate*) window;
-  if (!private->destroyed && !private->mapped)
+  if (!private->destroyed)
     {
       private->mapped = TRUE;
       XRaiseWindow (private->xdisplay, private->xwindow);
@@ -758,7 +758,7 @@ gdk_window_hide (GdkWindow *window)
   g_return_if_fail (window != NULL);
 
   private = (GdkWindowPrivate*) window;
-  if (!private->destroyed && private->mapped)
+  if (!private->destroyed)
     {
       private->mapped = FALSE;
       XUnmapWindow (private->xdisplay, private->xwindow);